/**
* @author attilax 1466519819@qq.com
* @version  c0
* Copyright 2013 attilax reserved.
* All content (including but not limited to text, pictures, etc.) have copyright restrictions, the note license.
* all the software source code  copyright belongs to the original owner.
* Creative Commons protocol use please follow the "sign for non-commercial use consistent"; we do not welcome the large-scale duplication, and all rights reserved.
* Commercial sites or unauthorized media may not copy software source code.
**/
 
 


 
package com.mijie.homi.search.domain.topic;

import java.io.Serializable;
import java.util.Date;

/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
public class Topic implements Serializable{

	private static final long serialVersionUID = 1L;
	private int id;
	private Date lastAccessAt;
	private Date recommendAt;
	private Date verifyAt;
	private Date createAt;
	private String idxf;
	private int author;
	private String title;
	private int isTop;
	private String moodType;
	private String tag;
	private int numOfOpinion;
	private int numOfParticipate;
	private int numOfConfused;
	private int block;
	private int visible;
	private int verifyCount;
	private String type;
	
	
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getId() {
		return id;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setId(int id) {
		this.id = id;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public Date getCreateAt() {
		return createAt;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public String getIdxf() {
		return idxf;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setIdxf(String idxf) {
		this.idxf = idxf;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getAuthor() {
		return author;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setAuthor(int author) {
		this.author = author;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public String getTitle() {
		return title;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setTitle(String title) {
		this.title = title;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getIsTop() {
		return isTop;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setIsTop(int isTop) {
		this.isTop = isTop;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public String getMoodType() {
		return moodType;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setMoodType(String moodType) {
		this.moodType = moodType;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public String getTag() {
		return tag;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setTag(String tag) {
		this.tag = tag;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getNumOfOpinion() {
		return numOfOpinion;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setNumOfOpinion(int numOfOpinion) {
		this.numOfOpinion = numOfOpinion;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getNumOfParticipate() {
		return numOfParticipate;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setNumOfParticipate(int numOfParticipate) {
		this.numOfParticipate = numOfParticipate;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getNumOfConfused() {
		return numOfConfused;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setNumOfConfused(int numOfConfused) {
		this.numOfConfused = numOfConfused;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getBlock() {
		return block;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setBlock(int block) {
		this.block = block;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getVisible() {
		return visible;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setVisible(int visible) {
		this.visible = visible;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public Date getRecommendAt() {
		return recommendAt;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setRecommendAt(Date recommendAt) {
		this.recommendAt = recommendAt;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public Date getVerifyAt() {
		return verifyAt;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setVerifyAt(Date verifyAt) {
		this.verifyAt = verifyAt;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public Date getLastAccessAt() {
		return lastAccessAt;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setLastAccessAt(Date lastAccessAt) {
		this.lastAccessAt = lastAccessAt;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int getVerifyCount() {
		return verifyCount;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setVerifyCount(int verifyCount) {
		this.verifyCount = verifyCount;
	}
	@Override
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public int hashCode() {
		return id ^ (id >>> 32);
	}
	
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public String getType() {
		return type;
	}
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public void setType(String type) {
		this.type = type;
	}
	
	@Override
/**
* @author attilax 1466519819@qq.com
* @version  c0
**/
	public boolean equals(Object obj) {
		if(obj==null) return false;
		return ((Topic)obj).getId()== this.id;
	}
	
	
}